home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
ecjdll11.zip
/
EXAMPLE.ZIP
/
ECJAPI.H
next >
Wrap
Text File
|
1993-08-15
|
581b
|
22 lines
/* ECJ callback messages */
#define ECJ_RESOLUTION 0
#define ECJ_PROGRESS 1
#define ECJ_ERROR 2
/* ECJ macros */
#define Get_ECJ_Video_Format(x) (x & 0x0007)
#define Get_ECJ_Half_Size(x) (x & 0x0008)
#define Get_ECJ_X(x) (WORD)(x >> 16)
#define Get_ECJ_Y(x) (WORD)(x & 0x0000ffff)
/* ECJ_Decode attributes */
#define ECJ_HALF_SIZE 0x0001
#define ECJ_AUTO_HALF 0x0002
#define ECJ_GRAY_ONLY 0x0004
#define ECJ_2_PASS 0x0008
#define ECJ_DITHER 0x0010
#define ECJ_24_BITS 0x0020
/* ECJ function prototypes */
typedef int (CALLBACK* ECJCB) (WORD, WORD, LONG);